<?php /* Smarty version Smarty-3.0.5, created on 2015-11-21 23:44:24
         compiled from "D:\WWW\phpcms7\phpcms5\tpl/Ljgoophone/index.html" */ ?>
<?php /*%%SmartyHeaderCode:44085650915838ebe6-71777582%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '3efe12a14a3e7f5d252c810c4e02fa8b5771b375' => 
    array (
      0 => 'D:\\WWW\\phpcms7\\phpcms5\\tpl/Ljgoophone/index.html',
      1 => 1448064290,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '44085650915838ebe6-71777582',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php if (!is_callable('smarty_modifier_date_format')) include 'D:\WWW\phpcms7\phpcms5\source\core\plugins\modifier.date_format.php';
if (!is_callable('smarty_modifier_truncate')) include 'D:\WWW\phpcms7\phpcms5\source\core\plugins\modifier.truncate.php';
?><!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $_smarty_tpl->getVariable('page_charset')->value;?>
" />
<title><?php echo $_smarty_tpl->getVariable('page_title')->value;?>
-<?php echo $_smarty_tpl->getVariable('copyright_header')->value;?>
</title>
<meta name="description" content="<?php echo $_smarty_tpl->getVariable('page_description')->value;?>
" />
<meta name="keywords" content="<?php echo $_smarty_tpl->getVariable('page_keyword')->value;?>
" />
<meta name="author" content="<?php echo $_smarty_tpl->getVariable('copyright_author')->value;?>
" />
<script type="text/javascript" src="<?php echo $_smarty_tpl->getVariable('skinpath')->value;?>
js/language.js"></script>
<link href="<?php echo $_smarty_tpl->getVariable('skinpath')->value;?>
css/mergesite.css" rel="stylesheet" type="text/css" />
<link href="<?php echo $_smarty_tpl->getVariable('skinpath')->value;?>
css/global.css" rel="stylesheet" type="text/css"  />
<script type="text/javascript" src="<?php echo $_smarty_tpl->getVariable('skinpath')->value;?>
js/mergesite.js"></script>
<script type="text/javascript" src="<?php echo $_smarty_tpl->getVariable('skinpath')->value;?>
js/command.js"></script>
<link rel="shortcut icon" href="/favicon.ico" />
</head>
<body>
<div id="header" class="cfl">
<div class="header_wrap">
<h1 class="header_logo">
<a href="<?php echo $_smarty_tpl->getVariable('urlpath')->value;?>
"><img src="<?php echo $_smarty_tpl->getVariable('urlpath')->value;?>
<?php echo $_smarty_tpl->getVariable('config')->value['logoimg'];?>
" width="170px" height="70px" ></a>
</h1>
<div class="header_menu">
<!-- star pub header# //-->
<?php $_template = new Smarty_Internal_Template(($_smarty_tpl->getVariable('tplpath')->value)."block_head.html", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
<!-- end header# //-->
</div>
</div>
</div>

﻿
<div class="wrapper">
	<div id="focus">
		<ul>
<?php  $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
 $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('ads_zone1')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
 $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['item']->key;
?>
<li><a href="<?php echo $_smarty_tpl->tpl_vars['item']->value['url'];?>
" target="_blank"><img src="<?php echo $_smarty_tpl->tpl_vars['item']->value['uploadfiles'];?>
" width="980px" height="440px"></a></li>
<?php }} ?>
		</ul>
	</div>
</div>
<script>
$(function() {
	var sWidth = $("#focus").width(); 
	var len = $("#focus ul li").length; 
	var index = 0;
	var picTimer;
	var btn = "<div class='btnBg'></div><div class='btn'>";
	for(var i=0; i < len; i++) {
		btn += "<span></span>";
	}
	btn += "</div><div class='preNext pre'></div><div class='preNext next'></div>";
	$("#focus").append(btn);
	$("#focus .btnBg").css("opacity",0.2);
	$("#focus .btn span").css("opacity",0.4).mouseenter(function() {
		index = $("#focus .btn span").index(this);
		showPics(index);
	}).eq(0).trigger("mouseenter");
	$("#focus .preNext").css("opacity",0.0).hover(function() {
		$(this).stop(true,false).animate({"opacity":"0.9"},300);
	},function() {
		$(this).stop(true,false).animate({"opacity":"0.1"},300);
	});
	$("#focus .pre").click(function() {
		index -= 1;
		if(index == -1) {index = len - 1;}
		showPics(index);
	});
	$("#focus .next").click(function() {
		index += 1;
		if(index == len) {index = 0;}
		showPics(index);
	});
	$("#focus ul").css("width",sWidth * (len));
	$("#focus").hover(function() {
		clearInterval(picTimer);
	},function() {
		picTimer = setInterval(function() {
showPics(index);
index++;
if(index == len) {index = 0;}
		},4000);
	}).trigger("mouseleave");
	function showPics(index) { 
		var nowLeft = -index*sWidth; 
		$("#focus ul").stop(true,false).animate({"left":nowLeft},300); 
		//$("#focus .btn span").removeClass("on").eq(index).addClass("on"); 
		$("#focus .btn span").stop(true,false).animate({"opacity":"0.4"},300).eq(index).stop(true,false).animate({"opacity":"1"},300); 
	}
});
</script>
<div class="home_main">
	<div class="home_Activity">
<a class="item" style="color:#FA7A20" href="product.php" target="_blank">最新产品立即购买</a> 
		</div>
	<div class="home_phone cfl">
<?php  $_smarty_tpl->tpl_vars['volist'] = new Smarty_Variable;
 $_from = Mod_Product::volist("AND v.hots=1","ORDER BY v.productid ASC",2); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
 $_smarty_tpl->tpl_vars['smarty']->value['foreach']['product_elitedata']['iteration']=0;
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['volist']->key => $_smarty_tpl->tpl_vars['volist']->value){
 $_smarty_tpl->tpl_vars['smarty']->value['foreach']['product_elitedata']['iteration']++;
?>
<?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['product_elitedata']['iteration']==1){?>
<div class="home_miphone home_mitwo">
<div style="width:181px;float:left;">
<a href="/index.php?m=product&id=32">
<h2><?php echo $_smarty_tpl->tpl_vars['volist']->value['sort_productname'];?>
</h2>
<p>编号:<?php echo $_smarty_tpl->tpl_vars['volist']->value['productnum'];?>
<br />
更新时间:<?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['volist']->value['timeline'],'%Y-%m-%d');?>
<br />
<em>&yen;<?php echo $_smarty_tpl->tpl_vars['volist']->value['price'];?>
 </em></p></a>
<a class="home_btn_order" href="productbuy.php?proid=<?php echo $_smarty_tpl->tpl_vars['volist']->value['productid'];?>
">立即购买</a><br />
<a class="home_btn_link" href="<?php echo $_smarty_tpl->tpl_vars['volist']->value['url'];?>
">产品详情</a>
</div>
<div style="float:left;width:120px;padding-top:50px;">
<a href="<?php echo $_smarty_tpl->tpl_vars['volist']->value['url'];?>
"><img src="<?php echo $_smarty_tpl->tpl_vars['volist']->value['thumbfiles'];?>
" alt="<?php echo $_smarty_tpl->tpl_vars['volist']->value['productname'];?>
" onload="javascript:DrawImage(this,'170','150');"  border="0" /></A>
</div>
</div>
<?php }?>





<?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['product_elitedata']['iteration']==2){?>
<div class="home_miphone home_mitwo">
<div style="width:181px;float:left;">
<a href="/index.php?m=product&id=32">
<h2><?php echo $_smarty_tpl->tpl_vars['volist']->value['sort_productname'];?>
</h2>
<p>编号:<?php echo $_smarty_tpl->tpl_vars['volist']->value['productnum'];?>
<br />
更新时间:<?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['volist']->value['timeline'],'%Y-%m-%d');?>
<br />
<em>&yen; <?php echo $_smarty_tpl->tpl_vars['volist']->value['price'];?>
</em></p></a>
<a class="home_btn_order" href="productbuy.php?proid=<?php echo $_smarty_tpl->tpl_vars['volist']->value['productid'];?>
">立即购买</a><br />
<a class="home_btn_link" href="<?php echo $_smarty_tpl->tpl_vars['volist']->value['url'];?>
">产品详情</a>
</div>
<div style="float:left;width:120px;padding-top:50px;">
<a href="<?php echo $_smarty_tpl->tpl_vars['volist']->value['url'];?>
"><img src="<?php echo $_smarty_tpl->tpl_vars['volist']->value['thumbfiles'];?>
" alt="<?php echo $_smarty_tpl->tpl_vars['volist']->value['productname'];?>
" onload="javascript:DrawImage(this,'170','150');"  border="0" /></A>
</div>
</div>
<?php }?>

<?php }} ?>  


<?php  $_smarty_tpl->tpl_vars['volist'] = new Smarty_Variable;
 $_from = Mod_Product::volist("AND v.ismiao=1","ORDER BY v.productid ASC",1); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
 $_smarty_tpl->tpl_vars['smarty']->value['foreach']['product_elitedata']['iteration']=0;
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['volist']->key => $_smarty_tpl->tpl_vars['volist']->value){
 $_smarty_tpl->tpl_vars['smarty']->value['foreach']['product_elitedata']['iteration']++;
?>

<?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['product_elitedata']['iteration']==1){?>
<div class="home_miten">

<div style="background-position: 110px 10px; background-image: url(<?php echo $_smarty_tpl->tpl_vars['volist']->value['thumbfiles'];?>
); background-repeat: no-repeat;padding-right:3px;" id="home_miten_link" class="home_miten_link">
<a href="<?php echo $_smarty_tpl->tpl_vars['volist']->value['url'];?>
" target="_blank">
<ul>
<li class="item1"><em style="top:32px;font-size:25px;" id="seckill_price"><?php echo intval($_smarty_tpl->tpl_vars['volist']->value['price']);?>
</em></li>
<li class="item2" id="before_price">原价：&yen;<?php echo $_smarty_tpl->tpl_vars['volist']->value['nprice'];?>
</li>
<li class="item3">
<dl>
	<dt>某某手机周年庆特价优惠活动</dt>
	<dd id="goods_name"><?php echo $_smarty_tpl->tpl_vars['volist']->value['miaotime'];?>
结束</dd>
</dl>
		</li>
	</ul>
	<span class="home_miten_icon"></span></a>
	</div>
  <ul class="home_mitengo cfl">
<?php  $_smarty_tpl->tpl_vars['volist'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('volist_newinfo')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['volist']->key => $_smarty_tpl->tpl_vars['volist']->value){
?>
<li style="width:190px;"><a class="item" href="<?php echo $_smarty_tpl->tpl_vars['volist']->value['url'];?>
" target="_blank" style="margin-left: 5px;" style="color:#FA7A20"><?php echo smarty_modifier_truncate($_smarty_tpl->tpl_vars['volist']->value['title'],16,0,"utf-8");?>
</a></li>
<?php }} ?>
</ul>
</div>
<?php }?> 
<?php }} ?>  
</div>

<div id="home_xmAcce">
		<div class="home_xmAcce_top cfl">
<h2><span>热门推荐</span></h2>
<p><a href="product.php">更多产品</a></p>
		</div>
		<div class="home_xmAcce_con">
<ul class="home_xmAcce_con_ul cfl">




<?php  $_smarty_tpl->tpl_vars['volist'] = new Smarty_Variable;
 $_from = Mod_Product::volist("AND v.elite=1","ORDER BY v.productid ASC",4); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
 $_smarty_tpl->tpl_vars['smarty']->value['foreach']['product_elitedata']['iteration']=0;
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['volist']->key => $_smarty_tpl->tpl_vars['volist']->value){
 $_smarty_tpl->tpl_vars['smarty']->value['foreach']['product_elitedata']['iteration']++;
?>
<?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['product_elitedata']['iteration']==1){?>
<li class="home_xmAcce_con_li ws">
<ul class="goodsDisplay">
<li class="goodsDisplay_item1"><a href="<?php echo $_smarty_tpl->tpl_vars['volist']->value['url'];?>
">
<img alt="<?php echo $_smarty_tpl->tpl_vars['volist']->value['sort_productname'];?>
" src="<?php echo $_smarty_tpl->tpl_vars['volist']->value['thumbfiles'];?>
" style="margin-top:60px;"/></a></li>
<li class="goodsDisplay_item2"><a href="<?php echo $_smarty_tpl->tpl_vars['volist']->value['productname'];?>
"><?php echo $_smarty_tpl->tpl_vars['volist']->value['sort_productname'];?>
</a></li>
<li class="goodsDisplay_item3"><em>￥<?php echo $_smarty_tpl->tpl_vars['volist']->value['price'];?>
</em> </li>
</ul>
</li>
<?php }else{ ?>
<li class="home_xmAcce_con_li">
<ul class="goodsDisplay">
<li class="goodsDisplay_item1"><a href="<?php echo $_smarty_tpl->tpl_vars['volist']->value['url'];?>
">
<img  alt="<?php echo $_smarty_tpl->tpl_vars['volist']->value['sort_productname'];?>
" src="<?php echo $_smarty_tpl->tpl_vars['volist']->value['thumbfiles'];?>
"  style="margin-top:60px;" /></a></li>
<li class="goodsDisplay_item2"><a href="<?php echo $_smarty_tpl->tpl_vars['volist']->value['url'];?>
"><?php echo $_smarty_tpl->tpl_vars['volist']->value['sort_productname'];?>
</a></li>
<li class="goodsDisplay_item3"><em>￥<?php echo $_smarty_tpl->tpl_vars['volist']->value['price'];?>
</em> </li>
</ul>
</li>
<?php }?> 
<?php }} ?>  
	 	 </ul>
		</div>
	</div>
</div>
<div id="dmbbs" class="cfl">
	<div class="dmbbs_m">
		<div class="dmbbs_m_top cfl">
<h2><span>最新解决方案</span></h2>
<a href="solution.php" target="_blank">更多</a>
		</div>
		<div class="dmbbs_m_con cfl">
		<div style="width:330px;float:left;">
<?php echo $_smarty_tpl->getVariable('config')->value['indexvideo'];?>

</div>
<ul>
<?php  $_smarty_tpl->tpl_vars['volist'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('volist_newsolution')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['volist']->key => $_smarty_tpl->tpl_vars['volist']->value){
?>
<LI>
<a href="<?php echo $_smarty_tpl->tpl_vars['volist']->value['url'];?>
"><?php echo $_smarty_tpl->tpl_vars['volist']->value['title'];?>
</a><SPAN ><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['volist']->value['timeline'],'%m-%d');?>
</SPAN>
</LI>
<?php }} ?>
</ul>
		</div>
	</div>
	<div class="dmFocus_side">
		<div class="dmFocus_side_news"><h2><span>新闻动态</span></h2>		
<ul class="1">
<?php  $_smarty_tpl->tpl_vars['volist'] = new Smarty_Variable;
 $_from = Mod_Info::volist("AND v.elite=1","ORDER BY v.infoid ASC",10); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['volist']->key => $_smarty_tpl->tpl_vars['volist']->value){
?>
<li><span><a href="<?php echo $_smarty_tpl->tpl_vars['volist']->value['url'];?>
" target="_target"><?php echo $_smarty_tpl->tpl_vars['volist']->value['title'];?>
</a></span></li>
<?php }} ?>
</ul>
		</div>	
	</div>
</div>



<div class="clearlist"></div>
<!-- 底部开始 -->
<div id="food" >
<div style="font-size:12px; padding-bottom:30px;padding-top:30px;overflow:hidden; border:1px solid #f3f3f3;margin:auto;width:960px;text-align:left">
<?php  $_smarty_tpl->tpl_vars['volist'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('volist_fontlink')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['volist']->key => $_smarty_tpl->tpl_vars['volist']->value){
?>
&nbsp;&nbsp;&nbsp;&nbsp;<a href="<?php echo $_smarty_tpl->tpl_vars['volist']->value['linkurl'];?>
" title="<?php echo $_smarty_tpl->tpl_vars['volist']->value['linktitle'];?>
" target="_blank"><?php echo $_smarty_tpl->tpl_vars['volist']->value['linktitle'];?>
</a>
<?php }} ?>
</div>

</div>

<?php $_template = new Smarty_Internal_Template(($_smarty_tpl->getVariable('tplpath')->value)."block_footer.html", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>

<?php $_template = new Smarty_Internal_Template(($_smarty_tpl->getVariable('tplpath')->value)."block_onlinechat.html", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
</body>
</html>
